package com.sishu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author  linyi
 * @date  2025-01-02 14:38:07
 * @description 角色表,每局游戏开始时会有角色以及技能选定
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("questionlibrary")
public class Questionlibrary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer questionId;  //题目id

    private String type;    //题目类型 单选多选判断

    private String content; //问题内容

    //选项 映射默认没有
    @TableField(exist = false)
    private List<Options> options;

    private String answer; //答案

    private String difficulty;  //答案的困难度


    //题目分类(时空画卷/竞技码头)
    private String classification;

    private int questionPrice; //问题价值

    private Integer classHour; //课程学时

}
